from fastapi import FastAPI
from controller import embedding, sound_conversion, sound_synthesis

app = FastAPI()


app.include_router(embedding.router, prefix="/api/embedding", tags=["大模型接口"])
app.include_router(sound_conversion.router, prefix="/api/soundConversion", tags=["大模型接口"])
app.include_router(sound_synthesis.router, prefix="/api/soundSynthesis", tags=["大模型接口"])


if __name__ == '__main__':
    import uvicorn

    uvicorn.run(app='main:app', host="0.0.0.0", port=7001, reload=True)
